package com.htfyun.database;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Index;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Generated;
import java.util.Date;

/**
 * Created by sst on 2018/1/17.
 */
@Entity(indexes = {
        @Index(value = "date DESC", unique = true)
})
public class PdfNote {
    @Id
    private Long id;

    @NotNull
    private String uuid;

    private java.util.Date date;
    
    private String pdfPath;
    private int pdfPagePosition;
@Generated(hash = 885434083)
public PdfNote(Long id, @NotNull String uuid, java.util.Date date,
        String pdfPath, int pdfPagePosition) {
    this.id = id;
    this.uuid = uuid;
    this.date = date;
    this.pdfPath = pdfPath;
    this.pdfPagePosition = pdfPagePosition;
}
@Generated(hash = 1633442027)
public PdfNote() {
}
public Long getId() {
    return this.id;
}
public void setId(Long id) {
    this.id = id;
}
public String getUuid() {
    return this.uuid;
}
public void setUuid(String uuid) {
    this.uuid = uuid;
}
public java.util.Date getDate() {
    return this.date;
}
public void setDate(java.util.Date date) {
    this.date = date;
}
public String getPdfPath() {
    return this.pdfPath;
}
public void setPdfPath(String pdfPath) {
    this.pdfPath = pdfPath;
}
public int getPdfPagePosition() {
    return this.pdfPagePosition;
}
public void setPdfPagePosition(int pdfPagePosition) {
    this.pdfPagePosition = pdfPagePosition;
}
            
}
